package com.shishuo.cdn.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.shishuo.cdn.entity.Contract;

public interface OrderDao {
	public int addIspOrder(Map<String, Object> paramMap);
	public int addIdcOrder(Map<String, Object> paramMap);
	public List<Map<String,Object>> queryOrderByUserId(Map<String, Object> paramMap);	
	public List<Map<String,Object>> queryIDCOrderByUserId(Map<String, Object> paramMap);
	public List<Map<String,Object>> queryISPOrderByUserId(Map<String, Object> paramMap);
	public void updateIspOrderNumById(Map<String, Object> paramMap);
	
	public void updateIdcOrderNumById(Map<String, Object> paramMap);

	public void updateISPOrderStatus(Map<String, Object> paramMap);
	
	public void updateIDCOrderStatus(Map<String, Object> paramMap);	
	
	public int queryISPOrderCount(Map<String, Object> paramMap);

	public int queryIDCOrderCount(Map<String, Object> paramMap);
	
	public Map<String, Object> queryISPOrderById(String orderId);
	
	public Map<String, Object> queryIDCOrderById(String orderId);

}
